/**
 * Created by aesop on 2015/5/11.
 */
  $().ready(function(){
        document.getElementById("noteSelectList").childNodes[1].click();
    })

    document.getElementById("noteSelectList").onclick = click_target;
    function click_target(e){
        e = e || window.event;
        var target = $(e.target);
        var toggle = target.data("target");
        if(toggle){
            $(".active").removeClass("active");
              target.addClass("active");
            $("#" +toggle).addClass("active");
        }

    }